package com.mindata.blockchain.socket.body;

import com.mindata.blockchain.block.Block;

/**
 * body里是一个block信息
 * @author wuweifeng wrote on 2018/3/12.
 */
public class RpcBlockBody extends BaseBody {
	private Block block;

	public RpcBlockBody() {
		super();
	}

	public RpcBlockBody(Block block) {
		super();
		this.block = block;
	}

	public Block getBlock() {
		return block;
	}

	public void setBlock(Block block) {
		this.block = block;
	}

	@Override
	public String toString() {
		return "BlockBody{" + "block=" + block + '}';
	}
}
